﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using FlashCards.Model;

namespace FlashCards.WebApp.Models
{
    public class AddExistingFlashcardSetToGroupModel
    {
        public FlashcardsModel Sets { get; set; }
        public GroupModel Group { get; set; }
        public int? UserId { get; set; }

        public AddExistingFlashcardSetToGroupModel(int userId, List<FlashcardSet> sets, Group group)
        {
            Group = new GroupModel(group);
            Sets = new FlashcardsModel(userId, sets, false, true);
            UserId = userId;
        }
    }
}